package com.bridgeintelligent.tag.webserver.workflow.repository;

import com.bridgeintelligent.tag.webserver.workflow.History;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface HistoryMapper {
    void save(History history);

    List<History> findHistories(@Param("instanceId") String instanceId);

    List<History> findOperationRecord(@Param("resourceId") String resourceId);
}
